package com.wedu.modules.dss.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("dss_device_information")
public class DeviceInformationEntity implements Serializable {

    @TableId
    private Long id;
    @TableField("device_id")
    private String deviceId;
    @TableField("workshop_name")
    private String workshopName;
    @TableField("device_type")
    private String deviceType;
    @TableField("device_name")
    private String deviceName;
    @TableField("device_model")
    private String deviceModel;
    private String factory;
    @TableField("produce_time")
    private Date produceTime;
    @TableField("start_use_time")
    private Date startUseTime;
    @TableField("maintenance_time")
    private Date maintenanceTime;
    private String notes;
    @TableField("sensor_id")
    private String sensorId;
    @TableField("maintenance_plan")
    private String maintenancePlan;
    @TableField("maintenance_due_time")
    private Date maintenanceDueTime;
    @TableField("notice_time")
    private Date noticeTime;
    @TableField("maintenance_status")
    private Integer maintenanceStatus;
    @TableField("maintenance_cycle")
    private Integer maintenanceCycle;
    @TableField("advance_time")
    private Integer advanceTime;


    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;
    @TableField("create_time")
    private Date createTime;
    @TableField("create_by")
    private Long createBy;
    @TableField("update_time")
    private Date updateTime;
    @TableField("update_by")
    private Long updateBy;
}
